package com.liurz.mongdb.vo;

import com.liurz.mongdb.model.Sensor;

import java.util.List;

public class ResultModelUtils {
    public static ResultModel getSuccessInstance(Object data) {
        ResultModel model = new ResultModel();
        model.setCode("0");
        model.setStatus("success");
        model.setData(data);
        return  model;
    }
}
